package cn.edu.xmut.chen.zhlg.zhlg.vacancy.entity;

import cn.edu.xmut.chen.zhlg.common.utils.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@TableName("tb_vacancy")
@Data
@ApiModel(value = "Vacancy对象", description = "空缺岗位表")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Vacancy extends BaseEntity {

    @ApiModelProperty(value = "岗位名称")
    @TableField("vacancy_name")
    private String vacancyName;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private String companyId;

    @ApiModelProperty(value = "详情")
    @TableField("detailed")
    private String detailed;

    @ApiModelProperty(value = "薪资")
    @TableField("salary")
    private String salary;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "紧急程度")
    @TableField("level")
    private String level;

    @ApiModelProperty(value = "删除标记")
    @TableField("delete_flag")
    private String deleteFlag;

    @ApiModelProperty(value = "招聘人id")
    @TableField("poster_id")
    private String posterId;

}